import request from '../utils/request'

// 获取热搜列表
export const getHotSearchList = () => {
  return request({
    url: '/search/hot/detail',
    method: 'get'
  })
}

// 搜索
export const search = (value,type,limit) => {
  return request({
    url: `/cloudsearch?keywords=${value}&limit=${limit}&type=${type}`,
    method: 'get'
  })
}
